home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / MAIL.XPI / bin / chrome / messenger.jar / content / messenger / pref-labels.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-01-17  |  5.2 KB  |  156 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!-- ***** BEGIN LICENSE BLOCK *****
  4.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  5.    -
  6.    - The contents of this file are subject to the Mozilla Public License Version
  7.    - 1.1 (the "License"); you may not use this file except in compliance with
  8.    - the License. You may obtain a copy of the License at
  9.    - http://www.mozilla.org/MPL/
  10.    -
  11.    - Software distributed under the License is distributed on an "AS IS" basis,
  12.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  13.    - for the specific language governing rights and limitations under the
  14.    - License.
  15.    -
  16.    - The Original Code is Mozilla Communicator.
  17.    -
  18.    - The Initial Developer of the Original Code is
  19.    - Netscape Communications Corp.
  20.    - Portions created by the Initial Developer are Copyright (C) 2001
  21.    - the Initial Developer. All Rights Reserved.
  22.    -
  23.    - Contributor(s):
  24.    -   Sean Su <ssu@netscape.com>
  25.    -   Ian Neal <bugzilla@arlen.demon.co.uk>
  26.    -
  27.    - Alternatively, the contents of this file may be used under the terms of
  28.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  29.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  30.    - in which case the provisions of the GPL or the LGPL are applicable instead
  31.    - of those above. If you wish to allow use of your version of this file only
  32.    - under the terms of either the GPL or the LGPL, and not to allow others to
  33.    - use your version of this file under the terms of the MPL, indicate your
  34.    - decision by deleting the provisions above and replace them with the notice
  35.    - and other provisions required by the LGPL or the GPL. If you do not delete
  36.    - the provisions above, a recipient may use your version of this file under
  37.    - the terms of any one of the MPL, the GPL or the LGPL.
  38.    -
  39.    - ***** END LICENSE BLOCK ***** -->
  40.  
  41.  
  42. <?xml-stylesheet href="chrome://messenger/skin/prefPanels.css" type="text/css"?>
  43.  
  44. <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
  45. <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  46.  
  47. <!DOCTYPE page SYSTEM "chrome://messenger/locale/pref-labels.dtd">
  48.  
  49. <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  50.       onload="parent.initPanel('chrome://messenger/content/pref-labels.xul');"
  51.       headertitle="&pane.title;">
  52.  
  53.   <popupset id="aTooltipSet"/>
  54.  
  55.   <script type="application/x-javascript">
  56.   <![CDATA[
  57.     var _elementIDs = ["label1TextBox", "label1Color", "label2TextBox", "label2Color", "label3TextBox", "label3Color", "label4TextBox", "label4Color", "label5TextBox", "label5Color"];
  58.   ]]>
  59.   </script>
  60.  
  61.   <script type="application/x-javascript" src="chrome://messenger/content/pref-labels.js"/>
  62.  
  63.   <groupbox>
  64.     <caption label="&labelsSettings.label;"/>
  65.  
  66.   <description>&displayText.label;</description>
  67.  
  68.   <!-- label color: 1 (default red) -->
  69.   <hbox class="indent" align="center">
  70.     <textbox
  71.         id="label1TextBox"
  72.         pref="true"
  73.         preftype="localizedstring"
  74.         prefstring="mailnews.labels.description.1"
  75.         prefattribute="value"/>
  76.     <colorpicker
  77.         class="small-margin"
  78.         type="button"
  79.         palettename="standard"
  80.         id="label1Color"
  81.         prefstring="mailnews.labels.color.1"/>
  82.   </hbox>    
  83.  
  84.   <!-- label color: 2 (default orange) -->
  85.   <hbox class="indent" align="center">
  86.     <textbox
  87.         id="label2TextBox"
  88.         pref="true"
  89.         preftype="localizedstring"
  90.         prefstring="mailnews.labels.description.2"
  91.         prefattribute="value"/>
  92.     <colorpicker
  93.         class="small-margin"
  94.         type="button"
  95.         palettename="standard"
  96.         id="label2Color"
  97.         prefstring="mailnews.labels.color.2"/>
  98.   </hbox>    
  99.  
  100.   <!-- label color: 3 (default green) -->
  101.   <hbox class="indent" align="center">
  102.     <textbox
  103.         id="label3TextBox"
  104.         pref="true"
  105.         preftype="localizedstring"
  106.         prefstring="mailnews.labels.description.3"
  107.         prefattribute="value"/>
  108.     <colorpicker
  109.         class="small-margin"
  110.         type="button"
  111.         palettename="standard"
  112.         id="label3Color"
  113.         prefstring="mailnews.labels.color.3"/>
  114.   </hbox>    
  115.  
  116.   <!-- label color: 4 (default blue) -->
  117.   <hbox class="indent" align="center">
  118.     <textbox
  119.         id="label4TextBox"
  120.         pref="true"
  121.         preftype="localizedstring"
  122.         prefstring="mailnews.labels.description.4"
  123.         prefattribute="value"/>
  124.     <colorpicker
  125.         class="small-margin"
  126.         type="button"
  127.         palettename="standard"
  128.         id="label4Color"
  129.         prefstring="mailnews.labels.color.4"/>
  130.   </hbox>    
  131.  
  132.   <!-- label color: 5 (default purple) -->
  133.   <hbox class="indent" align="center">
  134.     <textbox
  135.         id="label5TextBox"
  136.         pref="true"
  137.         preftype="localizedstring"
  138.         prefstring="mailnews.labels.description.5"
  139.         prefattribute="value"/>
  140.     <colorpicker
  141.         class="small-margin"
  142.         type="button"
  143.         palettename="standard"
  144.         id="label5Color"
  145.         prefstring="mailnews.labels.color.5"/>
  146.   </hbox>    
  147.  
  148.   <hbox pack="end">
  149.     <button label="&restoreDefaults.label;" accesskey="&restoreDefaults.accesskey;"
  150.             oncommand="restoreColorAndDescriptionToDefaults();">
  151.     </button>
  152.    </hbox>
  153.   </groupbox>
  154.  
  155. </page>
  156.